package com.jhh.pay.heli.bean;

import com.jhh.pay.heli.constant.Constant;

import java.io.Serializable;
import java.sql.Date;

public class HttpWrapper<T> implements Serializable{

	private T data;
	private int code; 
	private String info;
	private String date;
	
	public HttpWrapper() {
		date = new Date(System.currentTimeMillis()).toLocaleString();
		code = Constant.FAILD;
		info = "系统繁忙";
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}
	
}
